package com.huixue.cn.ztej.dao;

import java.util.List;

import com.huixue.cn.ztej.bean.Role;
import com.huixue.cn.ztej.bean.RoleResource;
import com.huixue.cn.ztej.utils.annotation.MyBatisRepository;

@MyBatisRepository
public interface RoleResourceDao {

	
	public void insert(RoleResource reoleResource);
	
	public void delete(RoleResource reoleResource);
	
	public long addBatch(List<RoleResource> list);
	
	public long deleteResByRole(int roleId);
	
	public List<RoleResource> findResourceByRole(int roleId);
	
}
